.main.media {
	max-width: 100%;

	.media-library__list {
		@include breakpoint-deprecated( '>660px' ) {
			padding: 0;
		}
	}
}

.media__item-dialog .dialog__action-buttons {
	display: flex;
	justify-content: space-between;

	// remove the left margin of the left-aligned 'Delete' button
	.button:first-child {
		margin-left: 0;
	}
}

.media__main-section .media-library__header.media-library__upload-url {
	padding: 6px 12px;
	background-color: var( --color-surface );
	box-sizing: border-box;
	box-shadow: 0 0 0 1px rgba( var( --color-neutral-10-rgb ), 0.5 ),
		0 1px 2px var( --color-neutral-0 );
}
